//
//  LoginTableViewCell.m
//  NoneCar
//
//  Created by DongSen on 2018/7/13.
//  Copyright © 2018年 董森森. All rights reserved.
//

#import "LoginTableViewCell.h"

@implementation LoginTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setCanSend:(BOOL)canSend{
    _canSend = canSend;
    if (!_canSend) {
        self.sendButton.titleLabel.textColor = STRCOLOR(@"#999999");
        [self.sendButton setTitleColor:STRCOLOR(@"#999999") forState:UIControlStateNormal];
    }
    else{
        self.sendButton.titleLabel.textColor = STRCOLOR(@"#333333");
        [self.sendButton setTitleColor:STRCOLOR(@"#333333") forState:UIControlStateNormal];
    }
}

@end
